<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>opennars: aruntime/src/main/java/nars/entity/Sentence.java Source File</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">opennars
   &#160;<span id="projectnumber">1.5.5</span>
   </div>
   <div id="projectbrief">1.5-ish</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="../../pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="../../namespaces.html"><span>Packages</span></a></li>
      <li><a href="../../annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="../../files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('da/d1c/Sentence_8java_source.html','../../');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">Sentence.java</div>  </div>
</div><!--header-->
<div class="contents">
<a href="../../da/d1c/Sentence_8java.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Sentence.java</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * Copyright (C) 2008  Pei Wang</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * This file is part of Open-NARS.</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> * Open-NARS is free software; you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> * it under the terms of the GNU General Public License as published by</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> * the Free Software Foundation, either version 2 of the License, or</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> * (at your option) any later version.</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> * Open-NARS is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> * GNU General Public License for more details.</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> * You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> * along with Open-NARS.  If not, see &lt;http://www.gnu.org/licenses/&gt;.</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="keyword">package </span>nars.entity;</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="keyword">import</span> <a class="code" href="../../d7/d81/namespacenars.html">nars</a>.<a class="code" href="../../db/d64/namespacenars_1_1io.html">io</a>.<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols.html">Symbols</a>;</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="keyword">import</span> <a class="code" href="../../d7/d81/namespacenars.html">nars</a>.<a class="code" href="../../d0/d72/namespacenars_1_1language.html">language</a>.<a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a>;</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="../../d6/d25/classnars_1_1entity_1_1Sentence.html">   31</a></span>&#160;<span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence.html">Sentence</a> <span class="keyword">implements</span> Cloneable {</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a9247640643ad9d028cee445c08ee54f8.html#a9247640643ad9d028cee445c08ee54f8">   34</a></span>&#160;    <span class="keyword">private</span> <a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a9247640643ad9d028cee445c08ee54f8.html#a9247640643ad9d028cee445c08ee54f8">content</a>;</div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="../../d6/d25/classnars_1_1entity_1_1Sentence_ac7a1b89f613ce7add43826138bc6495f.html#ac7a1b89f613ce7add43826138bc6495f">   36</a></span>&#160;    <span class="keyword">private</span> <span class="keywordtype">char</span> <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_ac7a1b89f613ce7add43826138bc6495f.html#ac7a1b89f613ce7add43826138bc6495f">punctuation</a>;</div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a46387491d810911098863902d26123b7.html#a46387491d810911098863902d26123b7">   38</a></span>&#160;    <span class="keyword">private</span> <a class="code" href="../../d3/db8/classnars_1_1entity_1_1TruthValue.html">TruthValue</a> <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a46387491d810911098863902d26123b7.html#a46387491d810911098863902d26123b7">truth</a>;</div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a652c806bcc1aa1585b2b8779c12ed351.html#a652c806bcc1aa1585b2b8779c12ed351">   40</a></span>&#160;    <span class="keyword">private</span> <a class="code" href="../../d1/d1e/classnars_1_1entity_1_1Stamp.html">Stamp</a> <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a652c806bcc1aa1585b2b8779c12ed351.html#a652c806bcc1aa1585b2b8779c12ed351">stamp</a>;</div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="../../d6/d25/classnars_1_1entity_1_1Sentence_abe49081ed6962e51de6f1c25eb36fcd6.html#abe49081ed6962e51de6f1c25eb36fcd6">   42</a></span>&#160;    <span class="keyword">private</span> <span class="keywordtype">boolean</span> <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_abe49081ed6962e51de6f1c25eb36fcd6.html#abe49081ed6962e51de6f1c25eb36fcd6">revisible</a>;</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="../../d6/d25/classnars_1_1entity_1_1Sentence_ad7f0c103faac9d3ebebbe0e8c5b829ff.html#ad7f0c103faac9d3ebebbe0e8c5b829ff">   51</a></span>&#160;    <span class="keyword">public</span> <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_ad7f0c103faac9d3ebebbe0e8c5b829ff.html#ad7f0c103faac9d3ebebbe0e8c5b829ff">Sentence</a>(<a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> content, <span class="keywordtype">char</span> punctuation, <a class="code" href="../../d3/db8/classnars_1_1entity_1_1TruthValue.html">TruthValue</a> truth, <a class="code" href="../../d1/d1e/classnars_1_1entity_1_1Stamp.html">Stamp</a> stamp) {</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;        this.content = <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a9247640643ad9d028cee445c08ee54f8.html#a9247640643ad9d028cee445c08ee54f8">content</a>;</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;        this.content.<a class="code" href="../../d8/db8/classnars_1_1language_1_1Term_a6ad164dd053a9cc808bcd6a2d741a775.html#a6ad164dd053a9cc808bcd6a2d741a775">renameVariables</a>();</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;        this.punctuation = <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_ac7a1b89f613ce7add43826138bc6495f.html#ac7a1b89f613ce7add43826138bc6495f">punctuation</a>;</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;        this.truth = <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a46387491d810911098863902d26123b7.html#a46387491d810911098863902d26123b7">truth</a>;</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;        this.stamp = <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a652c806bcc1aa1585b2b8779c12ed351.html#a652c806bcc1aa1585b2b8779c12ed351">stamp</a>;</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;        this.revisible = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    }</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;</div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="../../d6/d25/classnars_1_1entity_1_1Sentence_ac49a9178409ff2565a759b3f99a97a2d.html#ac49a9178409ff2565a759b3f99a97a2d">   68</a></span>&#160;    <span class="keyword">public</span> <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_ac49a9178409ff2565a759b3f99a97a2d.html#ac49a9178409ff2565a759b3f99a97a2d">Sentence</a>(<a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> content, <span class="keywordtype">char</span> punctuation, <a class="code" href="../../d3/db8/classnars_1_1entity_1_1TruthValue.html">TruthValue</a> truth, <a class="code" href="../../d1/d1e/classnars_1_1entity_1_1Stamp.html">Stamp</a> stamp, <span class="keywordtype">boolean</span> revisible) {</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;        this.content = <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a9247640643ad9d028cee445c08ee54f8.html#a9247640643ad9d028cee445c08ee54f8">content</a>;</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;        this.content.<a class="code" href="../../d8/db8/classnars_1_1language_1_1Term_a6ad164dd053a9cc808bcd6a2d741a775.html#a6ad164dd053a9cc808bcd6a2d741a775">renameVariables</a>();</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;        this.punctuation = <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_ac7a1b89f613ce7add43826138bc6495f.html#ac7a1b89f613ce7add43826138bc6495f">punctuation</a>;</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;        this.truth = <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a46387491d810911098863902d26123b7.html#a46387491d810911098863902d26123b7">truth</a>;</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;        this.stamp = <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a652c806bcc1aa1585b2b8779c12ed351.html#a652c806bcc1aa1585b2b8779c12ed351">stamp</a>;</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;        this.revisible = <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_abe49081ed6962e51de6f1c25eb36fcd6.html#abe49081ed6962e51de6f1c25eb36fcd6">revisible</a>;</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    }</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    @Override</div>
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a6b64cf9f10e578e4831092ab31dcd5d9.html#a6b64cf9f10e578e4831092ab31dcd5d9">   83</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">boolean</span> <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a6b64cf9f10e578e4831092ab31dcd5d9.html#a6b64cf9f10e578e4831092ab31dcd5d9">equals</a>(Object that) {</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;        <span class="keywordflow">if</span> (that instanceof <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence.html">Sentence</a>) {</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;            Sentence t = (<a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_ad7f0c103faac9d3ebebbe0e8c5b829ff.html#ad7f0c103faac9d3ebebbe0e8c5b829ff">Sentence</a>) that;</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;            <span class="keywordflow">return</span> content.<a class="code" href="../../d8/db8/classnars_1_1language_1_1Term_ad85f45a7858737445d5158801774ff5f.html#ad85f45a7858737445d5158801774ff5f">equals</a>(t.<a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_ad1ded9a02cae3557948d05530cd4d37e.html#ad1ded9a02cae3557948d05530cd4d37e">getContent</a>()) &amp;&amp; punctuation == t.<a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a3e0fe978c5d87f921a277fd067982980.html#a3e0fe978c5d87f921a277fd067982980">getPunctuation</a>() &amp;&amp; truth.<a class="code" href="../../d3/db8/classnars_1_1entity_1_1TruthValue_a6c90107ab2c878d9527d4330f08ecac8.html#a6c90107ab2c878d9527d4330f08ecac8">equals</a>(t.<a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a9f69b4fef64c81abad21404946cd41f9.html#a9f69b4fef64c81abad21404946cd41f9">getTruth</a>()) &amp;&amp; stamp.<a class="code" href="../../d1/d1e/classnars_1_1entity_1_1Stamp_adb33cdf9f13e1a919f7220cb622e7446.html#adb33cdf9f13e1a919f7220cb622e7446">equals</a>(t.<a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_ac0ed749c50e55120d5b63219ed7eb082.html#ac0ed749c50e55120d5b63219ed7eb082">getStamp</a>());</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;        }</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;        <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;    }</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    @Override</div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="../../d6/d25/classnars_1_1entity_1_1Sentence_aa46486d7029fadbdfd9110ba7c9272ed.html#aa46486d7029fadbdfd9110ba7c9272ed">   96</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">int</span> <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_aa46486d7029fadbdfd9110ba7c9272ed.html#aa46486d7029fadbdfd9110ba7c9272ed">hashCode</a>() {</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;        <span class="keywordtype">int</span> hash = 5;</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;        hash = 67 * hash + (this.content != null ? this.content.<a class="code" href="../../d8/db8/classnars_1_1language_1_1Term_a932a75d46661c14589d7c924dd03de7b.html#a932a75d46661c14589d7c924dd03de7b">hashCode</a>() : 0);</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;        hash = 67 * hash + this.<a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_ac7a1b89f613ce7add43826138bc6495f.html#ac7a1b89f613ce7add43826138bc6495f">punctuation</a>;</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;        hash = 67 * hash + (this.truth != null ? this.truth.<a class="code" href="../../d3/db8/classnars_1_1entity_1_1TruthValue_a8a6a2fc1c28f3294d243dce4d3c3e968.html#a8a6a2fc1c28f3294d243dce4d3c3e968">hashCode</a>() : 0);</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;        hash = 67 * hash + (this.stamp != null ? this.stamp.<a class="code" href="../../d1/d1e/classnars_1_1entity_1_1Stamp_ab52baff17f87c3737f0bc0216f66ac3f.html#ab52baff17f87c3737f0bc0216f66ac3f">hashCode</a>() : 0);</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;        <span class="keywordflow">return</span> hash;</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    }</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;</div>
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a8fee2d32f0024964146b13d7698210c5.html#a8fee2d32f0024964146b13d7698210c5">  112</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">boolean</span> <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a8fee2d32f0024964146b13d7698210c5.html#a8fee2d32f0024964146b13d7698210c5">equivalentTo</a>(<a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence.html">Sentence</a> that) {</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;        assert content.<a class="code" href="../../d8/db8/classnars_1_1language_1_1Term_ad85f45a7858737445d5158801774ff5f.html#ad85f45a7858737445d5158801774ff5f">equals</a>(that.<a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_ad1ded9a02cae3557948d05530cd4d37e.html#ad1ded9a02cae3557948d05530cd4d37e">getContent</a>()) &amp;&amp; punctuation == that.<a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a3e0fe978c5d87f921a277fd067982980.html#a3e0fe978c5d87f921a277fd067982980">getPunctuation</a>();</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;        <span class="keywordflow">return</span> (truth.<a class="code" href="../../d3/db8/classnars_1_1entity_1_1TruthValue_a6c90107ab2c878d9527d4330f08ecac8.html#a6c90107ab2c878d9527d4330f08ecac8">equals</a>(that.<a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a9f69b4fef64c81abad21404946cd41f9.html#a9f69b4fef64c81abad21404946cd41f9">getTruth</a>()) &amp;&amp; stamp.<a class="code" href="../../d1/d1e/classnars_1_1entity_1_1Stamp_adb33cdf9f13e1a919f7220cb622e7446.html#adb33cdf9f13e1a919f7220cb622e7446">equals</a>(that.<a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_ac0ed749c50e55120d5b63219ed7eb082.html#ac0ed749c50e55120d5b63219ed7eb082">getStamp</a>()));</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    }</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;    @Override</div>
<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a721f626ab83f34dc2e6858a4eede7102.html#a721f626ab83f34dc2e6858a4eede7102">  122</a></span>&#160;    <span class="keyword">public</span> Object <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a721f626ab83f34dc2e6858a4eede7102.html#a721f626ab83f34dc2e6858a4eede7102">clone</a>() {</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;        <span class="keywordflow">if</span> (truth == null) {</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_ad7f0c103faac9d3ebebbe0e8c5b829ff.html#ad7f0c103faac9d3ebebbe0e8c5b829ff">Sentence</a>((<a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a>) content.<a class="code" href="../../d8/db8/classnars_1_1language_1_1Term_ae2dba162b71bb9b806f54832249a260c.html#ae2dba162b71bb9b806f54832249a260c">clone</a>(), <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_ac7a1b89f613ce7add43826138bc6495f.html#ac7a1b89f613ce7add43826138bc6495f">punctuation</a>, null, (<a class="code" href="../../d1/d1e/classnars_1_1entity_1_1Stamp.html">Stamp</a>) stamp.<a class="code" href="../../d1/d1e/classnars_1_1entity_1_1Stamp_a034905573fe14fb73ba09bfa360eb608.html#a034905573fe14fb73ba09bfa360eb608">clone</a>());</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;        }</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;        <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_ad7f0c103faac9d3ebebbe0e8c5b829ff.html#ad7f0c103faac9d3ebebbe0e8c5b829ff">Sentence</a>((<a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a>) content.<a class="code" href="../../d8/db8/classnars_1_1language_1_1Term_ae2dba162b71bb9b806f54832249a260c.html#ae2dba162b71bb9b806f54832249a260c">clone</a>(), <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_ac7a1b89f613ce7add43826138bc6495f.html#ac7a1b89f613ce7add43826138bc6495f">punctuation</a>, <span class="keyword">new</span> <a class="code" href="../../d3/db8/classnars_1_1entity_1_1TruthValue.html">TruthValue</a>(truth), (<a class="code" href="../../d1/d1e/classnars_1_1entity_1_1Stamp.html">Stamp</a>) stamp.<a class="code" href="../../d1/d1e/classnars_1_1entity_1_1Stamp_a034905573fe14fb73ba09bfa360eb608.html#a034905573fe14fb73ba09bfa360eb608">clone</a>(), <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_abe49081ed6962e51de6f1c25eb36fcd6.html#abe49081ed6962e51de6f1c25eb36fcd6">revisible</a>);</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;    }</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;</div>
<div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="../../d6/d25/classnars_1_1entity_1_1Sentence_ad1ded9a02cae3557948d05530cd4d37e.html#ad1ded9a02cae3557948d05530cd4d37e">  133</a></span>&#160;    <span class="keyword">public</span> <a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_ad1ded9a02cae3557948d05530cd4d37e.html#ad1ded9a02cae3557948d05530cd4d37e">getContent</a>() {</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a9247640643ad9d028cee445c08ee54f8.html#a9247640643ad9d028cee445c08ee54f8">content</a>;</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;    }</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;</div>
<div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a3e0fe978c5d87f921a277fd067982980.html#a3e0fe978c5d87f921a277fd067982980">  141</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">char</span> <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a3e0fe978c5d87f921a277fd067982980.html#a3e0fe978c5d87f921a277fd067982980">getPunctuation</a>() {</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_ac7a1b89f613ce7add43826138bc6495f.html#ac7a1b89f613ce7add43826138bc6495f">punctuation</a>;</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;    }</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;</div>
<div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="../../d6/d25/classnars_1_1entity_1_1Sentence_ac6fa0cb96108a540d7e768ffc1b95630.html#ac6fa0cb96108a540d7e768ffc1b95630">  149</a></span>&#160;    <span class="keyword">public</span> <a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_ac6fa0cb96108a540d7e768ffc1b95630.html#ac6fa0cb96108a540d7e768ffc1b95630">cloneContent</a>() {</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;        <span class="keywordflow">return</span> (<a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a>) content.<a class="code" href="../../d8/db8/classnars_1_1language_1_1Term_ae2dba162b71bb9b806f54832249a260c.html#ae2dba162b71bb9b806f54832249a260c">clone</a>();</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;    }</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;</div>
<div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a8565e00f1855969c9706dd5cdca66a50.html#a8565e00f1855969c9706dd5cdca66a50">  157</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a8565e00f1855969c9706dd5cdca66a50.html#a8565e00f1855969c9706dd5cdca66a50">setContent</a>(<a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> t) {</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;        content = t;</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;    }</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;</div>
<div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a9f69b4fef64c81abad21404946cd41f9.html#a9f69b4fef64c81abad21404946cd41f9">  165</a></span>&#160;    <span class="keyword">public</span> <a class="code" href="../../d3/db8/classnars_1_1entity_1_1TruthValue.html">TruthValue</a> <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a9f69b4fef64c81abad21404946cd41f9.html#a9f69b4fef64c81abad21404946cd41f9">getTruth</a>() {</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a46387491d810911098863902d26123b7.html#a46387491d810911098863902d26123b7">truth</a>;</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;    }</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;</div>
<div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="../../d6/d25/classnars_1_1entity_1_1Sentence_ac0ed749c50e55120d5b63219ed7eb082.html#ac0ed749c50e55120d5b63219ed7eb082">  173</a></span>&#160;    <span class="keyword">public</span> <a class="code" href="../../d1/d1e/classnars_1_1entity_1_1Stamp.html">Stamp</a> <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_ac0ed749c50e55120d5b63219ed7eb082.html#ac0ed749c50e55120d5b63219ed7eb082">getStamp</a>() {</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a652c806bcc1aa1585b2b8779c12ed351.html#a652c806bcc1aa1585b2b8779c12ed351">stamp</a>;</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;    }</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;</div>
<div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a7d95d60caaf4c895559182a7eb2ff71e.html#a7d95d60caaf4c895559182a7eb2ff71e">  181</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">boolean</span> <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a7d95d60caaf4c895559182a7eb2ff71e.html#a7d95d60caaf4c895559182a7eb2ff71e">isJudgment</a>() {</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;        <span class="keywordflow">return</span> (punctuation == <a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols.html">Symbols</a>.<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols_a13b034b1bca44b2f3d3c8de6d1607047.html#a13b034b1bca44b2f3d3c8de6d1607047">JUDGMENT_MARK</a>);</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;    }</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;</div>
<div class="line"><a name="l00189"></a><span class="lineno"><a class="line" href="../../d6/d25/classnars_1_1entity_1_1Sentence_acb98b40c8990dbe5e15061f0759c60ee.html#acb98b40c8990dbe5e15061f0759c60ee">  189</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">boolean</span> <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_acb98b40c8990dbe5e15061f0759c60ee.html#acb98b40c8990dbe5e15061f0759c60ee">isQuestion</a>() {</div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;        <span class="keywordflow">return</span> (punctuation == <a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols.html">Symbols</a>.<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols_a771c007b010d86c032ee6d181f080ed8.html#a771c007b010d86c032ee6d181f080ed8">QUESTION_MARK</a>);</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;    }</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;</div>
<div class="line"><a name="l00193"></a><span class="lineno"><a class="line" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a3664d0b53eca935536d60cd0e3a13256.html#a3664d0b53eca935536d60cd0e3a13256">  193</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">boolean</span> <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a3664d0b53eca935536d60cd0e3a13256.html#a3664d0b53eca935536d60cd0e3a13256">containQueryVar</a>() {</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;        <span class="keywordflow">return</span> (content.<a class="code" href="../../d8/db8/classnars_1_1language_1_1Term_a3aad4654016b8615fd4fa8a26668e1db.html#a3aad4654016b8615fd4fa8a26668e1db">getName</a>().indexOf(<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols.html">Symbols</a>.<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols_a9ff625a6eaec1b710eaec490ee8fc549.html#a9ff625a6eaec1b710eaec490ee8fc549">VAR_QUERY</a>) &gt;= 0);</div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;    }</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;</div>
<div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="../../d6/d25/classnars_1_1entity_1_1Sentence_ae57a195c3623dc9b8245d977adc94b4d.html#ae57a195c3623dc9b8245d977adc94b4d">  197</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">boolean</span> <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_ae57a195c3623dc9b8245d977adc94b4d.html#ae57a195c3623dc9b8245d977adc94b4d">getRevisible</a>() {</div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_abe49081ed6962e51de6f1c25eb36fcd6.html#abe49081ed6962e51de6f1c25eb36fcd6">revisible</a>;</div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;    }</div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;</div>
<div class="line"><a name="l00201"></a><span class="lineno"><a class="line" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a97aee434b02405a38c1796bf8e27180b.html#a97aee434b02405a38c1796bf8e27180b">  201</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a97aee434b02405a38c1796bf8e27180b.html#a97aee434b02405a38c1796bf8e27180b">setRevisible</a>(<span class="keywordtype">boolean</span> b) {</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;        revisible = b;</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;    }</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;</div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;    @Override</div>
<div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a2265eebf36b27308042a492a26bd69b3.html#a2265eebf36b27308042a492a26bd69b3">  210</a></span>&#160;    <span class="keyword">public</span> String <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a2265eebf36b27308042a492a26bd69b3.html#a2265eebf36b27308042a492a26bd69b3">toString</a>() {</div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;        StringBuffer s = <span class="keyword">new</span> StringBuffer();</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;        s.append(content.<a class="code" href="../../d8/db8/classnars_1_1language_1_1Term_a04fc046ba98c451bded562f79cff4244.html#a04fc046ba98c451bded562f79cff4244">toString</a>());</div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;        s.append(punctuation + <span class="stringliteral">&quot; &quot;</span>);</div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;        <span class="keywordflow">if</span> (truth != null) {</div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;            s.append(truth.<a class="code" href="../../d3/db8/classnars_1_1entity_1_1TruthValue_aac30fa0b30fd070caa7c678da2621b68.html#aac30fa0b30fd070caa7c678da2621b68">toString</a>());</div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;        }</div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;        s.append(stamp.<a class="code" href="../../d1/d1e/classnars_1_1entity_1_1Stamp_ad1aee19cfc0bb8ca9232bad251f74ffc.html#ad1aee19cfc0bb8ca9232bad251f74ffc">toString</a>());</div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;        <span class="keywordflow">return</span> s.toString();</div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;    }</div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;</div>
<div class="line"><a name="l00225"></a><span class="lineno"><a class="line" href="../../d6/d25/classnars_1_1entity_1_1Sentence_aed4fff67fb986a938db98460a16dda2d.html#aed4fff67fb986a938db98460a16dda2d">  225</a></span>&#160;    <span class="keyword">public</span> String <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_aed4fff67fb986a938db98460a16dda2d.html#aed4fff67fb986a938db98460a16dda2d">toStringBrief</a>() {</div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a32d81c9525d514aca8ddc5f4db48a762.html#a32d81c9525d514aca8ddc5f4db48a762">toKey</a>() + stamp.<a class="code" href="../../d1/d1e/classnars_1_1entity_1_1Stamp_ad1aee19cfc0bb8ca9232bad251f74ffc.html#ad1aee19cfc0bb8ca9232bad251f74ffc">toString</a>();</div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;    }</div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;</div>
<div class="line"><a name="l00233"></a><span class="lineno"><a class="line" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a32d81c9525d514aca8ddc5f4db48a762.html#a32d81c9525d514aca8ddc5f4db48a762">  233</a></span>&#160;    <span class="keyword">public</span> String <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a32d81c9525d514aca8ddc5f4db48a762.html#a32d81c9525d514aca8ddc5f4db48a762">toKey</a>() {</div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;        StringBuffer s = <span class="keyword">new</span> StringBuffer();</div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;        s.append(content.<a class="code" href="../../d8/db8/classnars_1_1language_1_1Term_a04fc046ba98c451bded562f79cff4244.html#a04fc046ba98c451bded562f79cff4244">toString</a>());</div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;        s.append(punctuation + <span class="stringliteral">&quot; &quot;</span>);</div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;        <span class="keywordflow">if</span> (truth != null) {</div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;            s.append(truth.<a class="code" href="../../d3/db8/classnars_1_1entity_1_1TruthValue_a5af8b2fe37987ba1e8396ec1aad38e90.html#a5af8b2fe37987ba1e8396ec1aad38e90">toStringBrief</a>());</div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;        }</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;        <span class="keywordflow">return</span> s.toString();</div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;    }</div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;}</div>
<div class="ttc" id="classnars_1_1entity_1_1Sentence_a9f69b4fef64c81abad21404946cd41f9_html_a9f69b4fef64c81abad21404946cd41f9"><div class="ttname"><a href="../../d6/d25/classnars_1_1entity_1_1Sentence_a9f69b4fef64c81abad21404946cd41f9.html#a9f69b4fef64c81abad21404946cd41f9">nars.entity.Sentence.getTruth</a></div><div class="ttdeci">TruthValue getTruth()</div><div class="ttdoc">Get the truth value of the sentence. </div><div class="ttdef"><b>Definition:</b> <a href="../../da/d1c/Sentence_8java_source.html#l00165">Sentence.java:165</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1Term_a3aad4654016b8615fd4fa8a26668e1db_html_a3aad4654016b8615fd4fa8a26668e1db"><div class="ttname"><a href="../../d8/db8/classnars_1_1language_1_1Term_a3aad4654016b8615fd4fa8a26668e1db.html#a3aad4654016b8615fd4fa8a26668e1db">nars.language.Term.getName</a></div><div class="ttdeci">String getName()</div><div class="ttdoc">Reporting the name of the current Term. </div><div class="ttdef"><b>Definition:</b> <a href="../../d8/df2/Term_8java_source.html#l00068">Term.java:68</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Sentence_a97aee434b02405a38c1796bf8e27180b_html_a97aee434b02405a38c1796bf8e27180b"><div class="ttname"><a href="../../d6/d25/classnars_1_1entity_1_1Sentence_a97aee434b02405a38c1796bf8e27180b.html#a97aee434b02405a38c1796bf8e27180b">nars.entity.Sentence.setRevisible</a></div><div class="ttdeci">void setRevisible(boolean b)</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d1c/Sentence_8java_source.html#l00201">Sentence.java:201</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Sentence_a32d81c9525d514aca8ddc5f4db48a762_html_a32d81c9525d514aca8ddc5f4db48a762"><div class="ttname"><a href="../../d6/d25/classnars_1_1entity_1_1Sentence_a32d81c9525d514aca8ddc5f4db48a762.html#a32d81c9525d514aca8ddc5f4db48a762">nars.entity.Sentence.toKey</a></div><div class="ttdeci">String toKey()</div><div class="ttdoc">Get a String representation of the sentence for key of Task and TaskLink. </div><div class="ttdef"><b>Definition:</b> <a href="../../da/d1c/Sentence_8java_source.html#l00233">Sentence.java:233</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Sentence_abe49081ed6962e51de6f1c25eb36fcd6_html_abe49081ed6962e51de6f1c25eb36fcd6"><div class="ttname"><a href="../../d6/d25/classnars_1_1entity_1_1Sentence_abe49081ed6962e51de6f1c25eb36fcd6.html#abe49081ed6962e51de6f1c25eb36fcd6">nars.entity.Sentence.revisible</a></div><div class="ttdeci">boolean revisible</div><div class="ttdoc">Whether the sentence can be revised. </div><div class="ttdef"><b>Definition:</b> <a href="../../da/d1c/Sentence_8java_source.html#l00042">Sentence.java:42</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Sentence_a2265eebf36b27308042a492a26bd69b3_html_a2265eebf36b27308042a492a26bd69b3"><div class="ttname"><a href="../../d6/d25/classnars_1_1entity_1_1Sentence_a2265eebf36b27308042a492a26bd69b3.html#a2265eebf36b27308042a492a26bd69b3">nars.entity.Sentence.toString</a></div><div class="ttdeci">String toString()</div><div class="ttdoc">Get a String representation of the sentence. </div><div class="ttdef"><b>Definition:</b> <a href="../../da/d1c/Sentence_8java_source.html#l00210">Sentence.java:210</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Sentence_aa46486d7029fadbdfd9110ba7c9272ed_html_aa46486d7029fadbdfd9110ba7c9272ed"><div class="ttname"><a href="../../d6/d25/classnars_1_1entity_1_1Sentence_aa46486d7029fadbdfd9110ba7c9272ed.html#aa46486d7029fadbdfd9110ba7c9272ed">nars.entity.Sentence.hashCode</a></div><div class="ttdeci">int hashCode()</div><div class="ttdoc">To produce the hashcode of a sentence. </div><div class="ttdef"><b>Definition:</b> <a href="../../da/d1c/Sentence_8java_source.html#l00096">Sentence.java:96</a></div></div>
<div class="ttc" id="namespacenars_1_1io_html"><div class="ttname"><a href="../../db/d64/namespacenars_1_1io.html">nars.io</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d3/d26/ExperienceReader_8java_source.html#l00021">ExperienceReader.java:21</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Sentence_a8fee2d32f0024964146b13d7698210c5_html_a8fee2d32f0024964146b13d7698210c5"><div class="ttname"><a href="../../d6/d25/classnars_1_1entity_1_1Sentence_a8fee2d32f0024964146b13d7698210c5.html#a8fee2d32f0024964146b13d7698210c5">nars.entity.Sentence.equivalentTo</a></div><div class="ttdeci">boolean equivalentTo(Sentence that)</div><div class="ttdoc">Check whether the judgment is equivalent to another one. </div><div class="ttdef"><b>Definition:</b> <a href="../../da/d1c/Sentence_8java_source.html#l00112">Sentence.java:112</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Sentence_a9247640643ad9d028cee445c08ee54f8_html_a9247640643ad9d028cee445c08ee54f8"><div class="ttname"><a href="../../d6/d25/classnars_1_1entity_1_1Sentence_a9247640643ad9d028cee445c08ee54f8.html#a9247640643ad9d028cee445c08ee54f8">nars.entity.Sentence.content</a></div><div class="ttdeci">Term content</div><div class="ttdoc">The content of a Sentence is a Term. </div><div class="ttdef"><b>Definition:</b> <a href="../../da/d1c/Sentence_8java_source.html#l00034">Sentence.java:34</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1Term_ae2dba162b71bb9b806f54832249a260c_html_ae2dba162b71bb9b806f54832249a260c"><div class="ttname"><a href="../../d8/db8/classnars_1_1language_1_1Term_ae2dba162b71bb9b806f54832249a260c.html#ae2dba162b71bb9b806f54832249a260c">nars.language.Term.clone</a></div><div class="ttdeci">Object clone()</div><div class="ttdoc">Make a new Term with the same name. </div><div class="ttdef"><b>Definition:</b> <a href="../../d8/df2/Term_8java_source.html#l00083">Term.java:83</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Sentence_aed4fff67fb986a938db98460a16dda2d_html_aed4fff67fb986a938db98460a16dda2d"><div class="ttname"><a href="../../d6/d25/classnars_1_1entity_1_1Sentence_aed4fff67fb986a938db98460a16dda2d.html#aed4fff67fb986a938db98460a16dda2d">nars.entity.Sentence.toStringBrief</a></div><div class="ttdeci">String toStringBrief()</div><div class="ttdoc">Get a String representation of the sentence, with 2-digit accuracy. </div><div class="ttdef"><b>Definition:</b> <a href="../../da/d1c/Sentence_8java_source.html#l00225">Sentence.java:225</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1TruthValue_a6c90107ab2c878d9527d4330f08ecac8_html_a6c90107ab2c878d9527d4330f08ecac8"><div class="ttname"><a href="../../d3/db8/classnars_1_1entity_1_1TruthValue_a6c90107ab2c878d9527d4330f08ecac8.html#a6c90107ab2c878d9527d4330f08ecac8">nars.entity.TruthValue.equals</a></div><div class="ttdeci">boolean equals(Object that)</div><div class="ttdoc">Compare two truth values. </div><div class="ttdef"><b>Definition:</b> <a href="../../de/de7/TruthValue_8java_source.html#l00104">TruthValue.java:104</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Sentence_ac0ed749c50e55120d5b63219ed7eb082_html_ac0ed749c50e55120d5b63219ed7eb082"><div class="ttname"><a href="../../d6/d25/classnars_1_1entity_1_1Sentence_ac0ed749c50e55120d5b63219ed7eb082.html#ac0ed749c50e55120d5b63219ed7eb082">nars.entity.Sentence.getStamp</a></div><div class="ttdeci">Stamp getStamp()</div><div class="ttdoc">Get the stamp of the sentence. </div><div class="ttdef"><b>Definition:</b> <a href="../../da/d1c/Sentence_8java_source.html#l00173">Sentence.java:173</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Sentence_ae57a195c3623dc9b8245d977adc94b4d_html_ae57a195c3623dc9b8245d977adc94b4d"><div class="ttname"><a href="../../d6/d25/classnars_1_1entity_1_1Sentence_ae57a195c3623dc9b8245d977adc94b4d.html#ae57a195c3623dc9b8245d977adc94b4d">nars.entity.Sentence.getRevisible</a></div><div class="ttdeci">boolean getRevisible()</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d1c/Sentence_8java_source.html#l00197">Sentence.java:197</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1Symbols_a13b034b1bca44b2f3d3c8de6d1607047_html_a13b034b1bca44b2f3d3c8de6d1607047"><div class="ttname"><a href="../../dc/d71/classnars_1_1io_1_1Symbols_a13b034b1bca44b2f3d3c8de6d1607047.html#a13b034b1bca44b2f3d3c8de6d1607047">nars.io.Symbols.JUDGMENT_MARK</a></div><div class="ttdeci">static final char JUDGMENT_MARK</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/da0/Symbols_8java_source.html#l00029">Symbols.java:29</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Stamp_ab52baff17f87c3737f0bc0216f66ac3f_html_ab52baff17f87c3737f0bc0216f66ac3f"><div class="ttname"><a href="../../d1/d1e/classnars_1_1entity_1_1Stamp_ab52baff17f87c3737f0bc0216f66ac3f.html#ab52baff17f87c3737f0bc0216f66ac3f">nars.entity.Stamp.hashCode</a></div><div class="ttdeci">int hashCode()</div><div class="ttdoc">The hash code of Stamp. </div><div class="ttdef"><b>Definition:</b> <a href="../../d8/d4f/Stamp_8java_source.html#l00207">Stamp.java:207</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1Term_a932a75d46661c14589d7c924dd03de7b_html_a932a75d46661c14589d7c924dd03de7b"><div class="ttname"><a href="../../d8/db8/classnars_1_1language_1_1Term_a932a75d46661c14589d7c924dd03de7b.html#a932a75d46661c14589d7c924dd03de7b">nars.language.Term.hashCode</a></div><div class="ttdeci">int hashCode()</div><div class="ttdoc">Produce a hash code for the term. </div><div class="ttdef"><b>Definition:</b> <a href="../../d8/df2/Term_8java_source.html#l00104">Term.java:104</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1Symbols_html"><div class="ttname"><a href="../../dc/d71/classnars_1_1io_1_1Symbols.html">nars.io.Symbols</a></div><div class="ttdoc">The ASCII symbols used in I/O. </div><div class="ttdef"><b>Definition:</b> <a href="../../d5/da0/Symbols_8java_source.html#l00026">Symbols.java:26</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Sentence_ad1ded9a02cae3557948d05530cd4d37e_html_ad1ded9a02cae3557948d05530cd4d37e"><div class="ttname"><a href="../../d6/d25/classnars_1_1entity_1_1Sentence_ad1ded9a02cae3557948d05530cd4d37e.html#ad1ded9a02cae3557948d05530cd4d37e">nars.entity.Sentence.getContent</a></div><div class="ttdeci">Term getContent()</div><div class="ttdoc">Get the content of the sentence. </div><div class="ttdef"><b>Definition:</b> <a href="../../da/d1c/Sentence_8java_source.html#l00133">Sentence.java:133</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1TruthValue_aac30fa0b30fd070caa7c678da2621b68_html_aac30fa0b30fd070caa7c678da2621b68"><div class="ttname"><a href="../../d3/db8/classnars_1_1entity_1_1TruthValue_aac30fa0b30fd070caa7c678da2621b68.html#aac30fa0b30fd070caa7c678da2621b68">nars.entity.TruthValue.toString</a></div><div class="ttdeci">String toString()</div><div class="ttdoc">The String representation of a TruthValue. </div><div class="ttdef"><b>Definition:</b> <a href="../../de/de7/TruthValue_8java_source.html#l00129">TruthValue.java:129</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Sentence_ac7a1b89f613ce7add43826138bc6495f_html_ac7a1b89f613ce7add43826138bc6495f"><div class="ttname"><a href="../../d6/d25/classnars_1_1entity_1_1Sentence_ac7a1b89f613ce7add43826138bc6495f.html#ac7a1b89f613ce7add43826138bc6495f">nars.entity.Sentence.punctuation</a></div><div class="ttdeci">char punctuation</div><div class="ttdoc">The punctuation also indicates the type of the Sentence: Judgment, Question, or Goal. </div><div class="ttdef"><b>Definition:</b> <a href="../../da/d1c/Sentence_8java_source.html#l00036">Sentence.java:36</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Sentence_ad7f0c103faac9d3ebebbe0e8c5b829ff_html_ad7f0c103faac9d3ebebbe0e8c5b829ff"><div class="ttname"><a href="../../d6/d25/classnars_1_1entity_1_1Sentence_ad7f0c103faac9d3ebebbe0e8c5b829ff.html#ad7f0c103faac9d3ebebbe0e8c5b829ff">nars.entity.Sentence.Sentence</a></div><div class="ttdeci">Sentence(Term content, char punctuation, TruthValue truth, Stamp stamp)</div><div class="ttdoc">Create a Sentence with the given fields. </div><div class="ttdef"><b>Definition:</b> <a href="../../da/d1c/Sentence_8java_source.html#l00051">Sentence.java:51</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1TruthValue_a8a6a2fc1c28f3294d243dce4d3c3e968_html_a8a6a2fc1c28f3294d243dce4d3c3e968"><div class="ttname"><a href="../../d3/db8/classnars_1_1entity_1_1TruthValue_a8a6a2fc1c28f3294d243dce4d3c3e968.html#a8a6a2fc1c28f3294d243dce4d3c3e968">nars.entity.TruthValue.hashCode</a></div><div class="ttdeci">int hashCode()</div><div class="ttdoc">The hash code of a TruthValue. </div><div class="ttdef"><b>Definition:</b> <a href="../../de/de7/TruthValue_8java_source.html#l00115">TruthValue.java:115</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Sentence_acb98b40c8990dbe5e15061f0759c60ee_html_acb98b40c8990dbe5e15061f0759c60ee"><div class="ttname"><a href="../../d6/d25/classnars_1_1entity_1_1Sentence_acb98b40c8990dbe5e15061f0759c60ee.html#acb98b40c8990dbe5e15061f0759c60ee">nars.entity.Sentence.isQuestion</a></div><div class="ttdeci">boolean isQuestion()</div><div class="ttdoc">Distinguish Question from Quest ("instanceof Question" doesn&#39;t work) </div><div class="ttdef"><b>Definition:</b> <a href="../../da/d1c/Sentence_8java_source.html#l00189">Sentence.java:189</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1Term_a04fc046ba98c451bded562f79cff4244_html_a04fc046ba98c451bded562f79cff4244"><div class="ttname"><a href="../../d8/db8/classnars_1_1language_1_1Term_a04fc046ba98c451bded562f79cff4244.html#a04fc046ba98c451bded562f79cff4244">nars.language.Term.toString</a></div><div class="ttdeci">final String toString()</div><div class="ttdoc">The same as getName by default, used in display only. </div><div class="ttdef"><b>Definition:</b> <a href="../../d8/df2/Term_8java_source.html#l00158">Term.java:158</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Stamp_html"><div class="ttname"><a href="../../d1/d1e/classnars_1_1entity_1_1Stamp.html">nars.entity.Stamp</a></div><div class="ttdoc">Each Sentence has a time stamp, consisting the following components: (1) The creation time of the sen...</div><div class="ttdef"><b>Definition:</b> <a href="../../d8/d4f/Stamp_8java_source.html#l00035">Stamp.java:35</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Sentence_a3e0fe978c5d87f921a277fd067982980_html_a3e0fe978c5d87f921a277fd067982980"><div class="ttname"><a href="../../d6/d25/classnars_1_1entity_1_1Sentence_a3e0fe978c5d87f921a277fd067982980.html#a3e0fe978c5d87f921a277fd067982980">nars.entity.Sentence.getPunctuation</a></div><div class="ttdeci">char getPunctuation()</div><div class="ttdoc">Get the punctuation of the sentence. </div><div class="ttdef"><b>Definition:</b> <a href="../../da/d1c/Sentence_8java_source.html#l00141">Sentence.java:141</a></div></div>
<div class="ttc" id="namespacenars_html"><div class="ttname"><a href="../../d7/d81/namespacenars.html">nars</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Stamp_ad1aee19cfc0bb8ca9232bad251f74ffc_html_ad1aee19cfc0bb8ca9232bad251f74ffc"><div class="ttname"><a href="../../d1/d1e/classnars_1_1entity_1_1Stamp_ad1aee19cfc0bb8ca9232bad251f74ffc.html#ad1aee19cfc0bb8ca9232bad251f74ffc">nars.entity.Stamp.toString</a></div><div class="ttdeci">String toString()</div><div class="ttdoc">Get a String form of the Stamp for display Format: {creationTime [: eventTime] : evidentialBase}. </div><div class="ttdef"><b>Definition:</b> <a href="../../d8/d4f/Stamp_8java_source.html#l00225">Stamp.java:225</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Sentence_html"><div class="ttname"><a href="../../d6/d25/classnars_1_1entity_1_1Sentence.html">nars.entity.Sentence</a></div><div class="ttdoc">A Sentence is an abstract class, mainly containing a Term, a TruthValue, and a Stamp. </div><div class="ttdef"><b>Definition:</b> <a href="../../da/d1c/Sentence_8java_source.html#l00031">Sentence.java:31</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1Term_ad85f45a7858737445d5158801774ff5f_html_ad85f45a7858737445d5158801774ff5f"><div class="ttname"><a href="../../d8/db8/classnars_1_1language_1_1Term_ad85f45a7858737445d5158801774ff5f.html#ad85f45a7858737445d5158801774ff5f">nars.language.Term.equals</a></div><div class="ttdeci">boolean equals(Object that)</div><div class="ttdoc">Equal terms have identical name, though not necessarily the same reference. </div><div class="ttdef"><b>Definition:</b> <a href="../../d8/df2/Term_8java_source.html#l00094">Term.java:94</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1Symbols_a9ff625a6eaec1b710eaec490ee8fc549_html_a9ff625a6eaec1b710eaec490ee8fc549"><div class="ttname"><a href="../../dc/d71/classnars_1_1io_1_1Symbols_a9ff625a6eaec1b710eaec490ee8fc549.html#a9ff625a6eaec1b710eaec490ee8fc549">nars.io.Symbols.VAR_QUERY</a></div><div class="ttdeci">static final char VAR_QUERY</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/da0/Symbols_8java_source.html#l00035">Symbols.java:35</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1TruthValue_html"><div class="ttname"><a href="../../d3/db8/classnars_1_1entity_1_1TruthValue.html">nars.entity.TruthValue</a></div><div class="ttdoc">Frequency and confidence. </div><div class="ttdef"><b>Definition:</b> <a href="../../de/de7/TruthValue_8java_source.html#l00028">TruthValue.java:28</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Sentence_a7d95d60caaf4c895559182a7eb2ff71e_html_a7d95d60caaf4c895559182a7eb2ff71e"><div class="ttname"><a href="../../d6/d25/classnars_1_1entity_1_1Sentence_a7d95d60caaf4c895559182a7eb2ff71e.html#a7d95d60caaf4c895559182a7eb2ff71e">nars.entity.Sentence.isJudgment</a></div><div class="ttdeci">boolean isJudgment()</div><div class="ttdoc">Distinguish Judgment from Goal ("instanceof Judgment" doesn&#39;t work) </div><div class="ttdef"><b>Definition:</b> <a href="../../da/d1c/Sentence_8java_source.html#l00181">Sentence.java:181</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1Symbols_a771c007b010d86c032ee6d181f080ed8_html_a771c007b010d86c032ee6d181f080ed8"><div class="ttname"><a href="../../dc/d71/classnars_1_1io_1_1Symbols_a771c007b010d86c032ee6d181f080ed8.html#a771c007b010d86c032ee6d181f080ed8">nars.io.Symbols.QUESTION_MARK</a></div><div class="ttdeci">static final char QUESTION_MARK</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/da0/Symbols_8java_source.html#l00030">Symbols.java:30</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Sentence_a3664d0b53eca935536d60cd0e3a13256_html_a3664d0b53eca935536d60cd0e3a13256"><div class="ttname"><a href="../../d6/d25/classnars_1_1entity_1_1Sentence_a3664d0b53eca935536d60cd0e3a13256.html#a3664d0b53eca935536d60cd0e3a13256">nars.entity.Sentence.containQueryVar</a></div><div class="ttdeci">boolean containQueryVar()</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d1c/Sentence_8java_source.html#l00193">Sentence.java:193</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Sentence_a6b64cf9f10e578e4831092ab31dcd5d9_html_a6b64cf9f10e578e4831092ab31dcd5d9"><div class="ttname"><a href="../../d6/d25/classnars_1_1entity_1_1Sentence_a6b64cf9f10e578e4831092ab31dcd5d9.html#a6b64cf9f10e578e4831092ab31dcd5d9">nars.entity.Sentence.equals</a></div><div class="ttdeci">boolean equals(Object that)</div><div class="ttdoc">To check whether two sentences are equal. </div><div class="ttdef"><b>Definition:</b> <a href="../../da/d1c/Sentence_8java_source.html#l00083">Sentence.java:83</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1Term_html"><div class="ttname"><a href="../../d8/db8/classnars_1_1language_1_1Term.html">nars.language.Term</a></div><div class="ttdoc">Term is the basic component of Narsese, and the object of processing in NARS. </div><div class="ttdef"><b>Definition:</b> <a href="../../d8/df2/Term_8java_source.html#l00040">Term.java:40</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Stamp_adb33cdf9f13e1a919f7220cb622e7446_html_adb33cdf9f13e1a919f7220cb622e7446"><div class="ttname"><a href="../../d1/d1e/classnars_1_1entity_1_1Stamp_adb33cdf9f13e1a919f7220cb622e7446.html#adb33cdf9f13e1a919f7220cb622e7446">nars.entity.Stamp.equals</a></div><div class="ttdeci">boolean equals(Object that)</div><div class="ttdoc">Check if two stamps contains the same content. </div><div class="ttdef"><b>Definition:</b> <a href="../../d8/d4f/Stamp_8java_source.html#l00193">Stamp.java:193</a></div></div>
<div class="ttc" id="namespacenars_1_1language_html"><div class="ttname"><a href="../../d0/d72/namespacenars_1_1language.html">nars.language</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d5/d0e/CompoundTerm_8java_source.html#l00021">CompoundTerm.java:21</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Sentence_a8565e00f1855969c9706dd5cdca66a50_html_a8565e00f1855969c9706dd5cdca66a50"><div class="ttname"><a href="../../d6/d25/classnars_1_1entity_1_1Sentence_a8565e00f1855969c9706dd5cdca66a50.html#a8565e00f1855969c9706dd5cdca66a50">nars.entity.Sentence.setContent</a></div><div class="ttdeci">void setContent(Term t)</div><div class="ttdoc">Set the content Term of the Sentence. </div><div class="ttdef"><b>Definition:</b> <a href="../../da/d1c/Sentence_8java_source.html#l00157">Sentence.java:157</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Stamp_a034905573fe14fb73ba09bfa360eb608_html_a034905573fe14fb73ba09bfa360eb608"><div class="ttname"><a href="../../d1/d1e/classnars_1_1entity_1_1Stamp_a034905573fe14fb73ba09bfa360eb608.html#a034905573fe14fb73ba09bfa360eb608">nars.entity.Stamp.clone</a></div><div class="ttdeci">Object clone()</div><div class="ttdoc">Clone a stamp. </div><div class="ttdef"><b>Definition:</b> <a href="../../d8/d4f/Stamp_8java_source.html#l00139">Stamp.java:139</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1TruthValue_a5af8b2fe37987ba1e8396ec1aad38e90_html_a5af8b2fe37987ba1e8396ec1aad38e90"><div class="ttname"><a href="../../d3/db8/classnars_1_1entity_1_1TruthValue_a5af8b2fe37987ba1e8396ec1aad38e90.html#a5af8b2fe37987ba1e8396ec1aad38e90">nars.entity.TruthValue.toStringBrief</a></div><div class="ttdeci">String toStringBrief()</div><div class="ttdoc">A simplified String representation of a TruthValue, where each factor is accruate to 1%...</div><div class="ttdef"><b>Definition:</b> <a href="../../de/de7/TruthValue_8java_source.html#l00137">TruthValue.java:137</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Sentence_ac49a9178409ff2565a759b3f99a97a2d_html_ac49a9178409ff2565a759b3f99a97a2d"><div class="ttname"><a href="../../d6/d25/classnars_1_1entity_1_1Sentence_ac49a9178409ff2565a759b3f99a97a2d.html#ac49a9178409ff2565a759b3f99a97a2d">nars.entity.Sentence.Sentence</a></div><div class="ttdeci">Sentence(Term content, char punctuation, TruthValue truth, Stamp stamp, boolean revisible)</div><div class="ttdoc">Create a Sentence with the given fields. </div><div class="ttdef"><b>Definition:</b> <a href="../../da/d1c/Sentence_8java_source.html#l00068">Sentence.java:68</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Sentence_ac6fa0cb96108a540d7e768ffc1b95630_html_ac6fa0cb96108a540d7e768ffc1b95630"><div class="ttname"><a href="../../d6/d25/classnars_1_1entity_1_1Sentence_ac6fa0cb96108a540d7e768ffc1b95630.html#ac6fa0cb96108a540d7e768ffc1b95630">nars.entity.Sentence.cloneContent</a></div><div class="ttdeci">Term cloneContent()</div><div class="ttdoc">Clone the content of the sentence. </div><div class="ttdef"><b>Definition:</b> <a href="../../da/d1c/Sentence_8java_source.html#l00149">Sentence.java:149</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Sentence_a721f626ab83f34dc2e6858a4eede7102_html_a721f626ab83f34dc2e6858a4eede7102"><div class="ttname"><a href="../../d6/d25/classnars_1_1entity_1_1Sentence_a721f626ab83f34dc2e6858a4eede7102.html#a721f626ab83f34dc2e6858a4eede7102">nars.entity.Sentence.clone</a></div><div class="ttdeci">Object clone()</div><div class="ttdoc">Clone the Sentence. </div><div class="ttdef"><b>Definition:</b> <a href="../../da/d1c/Sentence_8java_source.html#l00122">Sentence.java:122</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Sentence_a46387491d810911098863902d26123b7_html_a46387491d810911098863902d26123b7"><div class="ttname"><a href="../../d6/d25/classnars_1_1entity_1_1Sentence_a46387491d810911098863902d26123b7.html#a46387491d810911098863902d26123b7">nars.entity.Sentence.truth</a></div><div class="ttdeci">TruthValue truth</div><div class="ttdoc">The truth value of Judgment. </div><div class="ttdef"><b>Definition:</b> <a href="../../da/d1c/Sentence_8java_source.html#l00038">Sentence.java:38</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Sentence_a652c806bcc1aa1585b2b8779c12ed351_html_a652c806bcc1aa1585b2b8779c12ed351"><div class="ttname"><a href="../../d6/d25/classnars_1_1entity_1_1Sentence_a652c806bcc1aa1585b2b8779c12ed351.html#a652c806bcc1aa1585b2b8779c12ed351">nars.entity.Sentence.stamp</a></div><div class="ttdeci">Stamp stamp</div><div class="ttdoc">Partial record of the derivation path. </div><div class="ttdef"><b>Definition:</b> <a href="../../da/d1c/Sentence_8java_source.html#l00040">Sentence.java:40</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1Term_a6ad164dd053a9cc808bcd6a2d741a775_html_a6ad164dd053a9cc808bcd6a2d741a775"><div class="ttname"><a href="../../d8/db8/classnars_1_1language_1_1Term_a6ad164dd053a9cc808bcd6a2d741a775.html#a6ad164dd053a9cc808bcd6a2d741a775">nars.language.Term.renameVariables</a></div><div class="ttdeci">void renameVariables()</div><div class="ttdoc">Blank method to be override in CompoundTerm. </div><div class="ttdef"><b>Definition:</b> <a href="../../d8/df2/Term_8java_source.html#l00120">Term.java:120</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../dir_ed82ebcd34e530b246c6fd9032262140.html">aruntime</a></li><li class="navelem"><a class="el" href="../../dir_19496ddff8e6c0f2b6654287ecb1a472.html">src</a></li><li class="navelem"><a class="el" href="../../dir_db9c5934f797909f7296c2c2017f7fc9.html">main</a></li><li class="navelem"><a class="el" href="../../dir_6d74390eb6d6287951075e525bcb9bed.html">java</a></li><li class="navelem"><a class="el" href="../../dir_51a24984472456d47100350cd31f9a7c.html">nars</a></li><li class="navelem"><a class="el" href="../../dir_c3c9ea9f52870ae82b0fae20af0d9479.html">entity</a></li><li class="navelem"><a class="el" href="../../da/d1c/Sentence_8java.html">Sentence.java</a></li>
    <li class="footer">Generated on Sun Jan 10 2016 18:03:58 for opennars by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
  </ul>
</div>
</body>
</html>
